home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total Network Tools 2002
/
NextStepPublishing-TotalNetworkTools2002-Win95.iso
/
Archive
/
Misc Servers
/
Zope.exe
/
PCGITIME.PY
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
1998-10-19
|
350 b
|
10 lines
# pcgitime.py - example pcgi script - JeffBauer@bigfoot.com
from time import asctime, localtime, time
beginTime = "<html><pre>time started: %s" % asctime(localtime(time()))
def getTime(arg=None):
"""It's later than you think (don't remove this docstring)"""
return "%s\ncurrent time: %s" % (beginTime, asctime(localtime(time())))